home *** CD-ROM | disk | FTP | other *** search
- Path: news.softcon.de!guru
- From: guru@SoftcoN.de (Matthias Apitz)
- Newsgroups: comp.dcom.modems
- Subject: Re: dial in on unix
- Date: 3 Jan 1996 16:48:12 GMT
- Organization: SOFTCON Gesellschaft fuer Systementwicklung mbH, Oberhaching, Muenchen, Deutschland
- Message-ID: <4cec0c$pg4@boell.softcon.de>
- References: <4cdk4v$28tu@serra.unipi.it>
- NNTP-Posting-Host: kant.softcon.de
- X-Newsreader: NN version 6.5.0 BETA4 #0
-
- michelotto@mvxpd5.pd.infn.it (Michele Michelotto) writes:
-
-
- >i have a unix machine (a compaq p5/90 running BSDI) connected to internet via
- >ethernet. I would like to connect to it via dialin on the modem (usr sporster
- >28.8). I can dial out without problem and send initialization string to the
- >modem using a program named tip on unix. But I can't use the modem as dial in.
- >when another model calls it, it answer after some rings, contracts for one
- >or two seconds then drops the communication withour raising the CD line.
-
- The getty doesn't know anything about modems. So there are two ways:
-
- 1:
- configure your modem as it should be to be ready for incoming calls
- (like S0=1,...) and write the configuration into the profile, which
- is loaded by ATZ0 (see you modem manual for details); the important
- thing is to set &D3 to force a reset and the load of profile 0
- if DTR goes down (after a session); I don't prefer this method;
-
- 2:
- use some (public available) software which works like:
-
- for ever do
- send all AT init strings to the modem;
- set S0=0 and wait for incoming "RING";
- pick up the call with ATA;
- if handshake is done
- start /etc/getty
- wait for session to terminate
- send hangup (e.g. lower DTR)
- done
-
- In this case after every session the modem would be re-init
- with all necessary AT-cmd's.
-
- I do know two of such modem control ( & fax) software: mgetty and HylaFAX.
- For more information about HylaFAX see: http://www.vix.com/hylafax/ or
- ftp://sgi.com/sgi/fax/
-
- Hope that helps.
-
- matthias
-